OTP\Handler\Forms\DefaultWordPressRegistrationForm S

Total Complexity 50
Dependencies 9
Dependents 0
Total lines 306
Lines of code 158
Logical lines of code 97
Comment lines 122
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
miniorange_site_registration_errors()
S
57 6 15
miniorange_site_register_form()
S
57 5 16
checkIfPhoneNumberUnique()
S
62 6 10
startOTPTransaction()
S
58 5 14
handle_form_options()
S
60 4 13
miniorange_registration_save()
S
61 4 11
handle_form()
S
58 3 13
miniorange_custom_reg_message()
S
65 3 9
validatePasswords()
S
67 3 8
get_phone_number_selector()
S
70 3 6
handle_failed_verification()
S
62 2 12
__construct()
S
58 1 15
isPhoneVerificationEnabled()
S
75 2 4
handle_post_verification()
S
82 1 3
isPhoneNumberAlreadyInUse()
S
69 1 6
unset_otp_session_variables()
S
80 1 3